package core

class UserClass {
	Integer id
	String passwrd
    String userName
	String email
 

    static constraints = {
		id size: 1..15, blank: false , uniq: true, nullable: false
		userName size: 5..15, blank: false , uniq: true, nullable: false
		passwrd size: 5..15, blank: false , uniq: true, nullable: false
		email email: true, blank: true ,nullable: true, uniqe: true 
    }
}
